package hyj.qx.kuaican.model;

public enum ErrorCode {
    NO_MAIN_DISH("NO_MAIN_DISH","没有点主食"),
    CAO_DINDANFW("CAO_DINDANFW","点餐不能超过五个哦"),
    XIAJIA_BINQL("XIAJIA_BINQL","冰淇淋下降了"),
    YIJIN_ZHIFU("YIJIN_ZHIFU","已经支付无法取消"),
    NOT_ORDER("NOT_ORDER","没有此订单"),
    ORDER_ISKO("ORDER_ISKO","订单已取消过了"),
    ORDER_NOT_FOUND("ORDER_NOT_FOUND","没有找到订单"),
    NOT_OK("NOT_OK","商家不同意"),
    MODIFY_FORBIDDEN("MODIFY_FORBIDDEN","无法修改订单,订单已完成");


    private String code;
    private String message;

    ErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getMessage() {
        return message;
    }
    public void setMessage(String message) {
        this.message = message;
    }

}
